[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Check for nulls in the collection. Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim collection As IEnumerable(Of T)
Dim paramName As String

ValidationHelper.ValidationCollection(collection, paramName)

Syntax

Visual Basic
Public Shared Sub ValidationCollection(Of T) ( _
		collection As IEnumerable(Of T), _
		paramName As String _
)
C#
public static void ValidationCollection<T> (
		IEnumerable<T> collection,
		string paramName
)
C++
public:
generic<typename T>
static void ValidationCollection (
		IEnumerable<T>^ collection, 
		String^ paramName
)
J#

JScript

GenericParameters

T

Any type.

Parameters

collection

The collection.

paramName

The name of the parameter to throw the exception for.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also